<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>020-图标滑动悬停效果</title>
  <!-- 
        课程中的图标是从font awesome网站上弄下来的
        我已经将font-awesome的图标库下载在了本地，github上在根目录的font-awesome的文件夹当中

        图标引入方法参见：[前端引入icon的方法（iconfont,fontawesome） - 简书](https://www.jianshu.com/p/2ec61039b1cc)
     -->
  <link rel="stylesheet" href="../../font-awesome/css/font-awesome.css" />

  <link rel="stylesheet" href="css/style.css" />
</head>

<body>
  <ul>
    <li>
      <div class="icon">
        <a href="#">
          <i class="fa fa-map-marker" aria-hidden="true"></i>
          <div class="text">Address</div>
        </a>
      </div>
    </li>
    <li>
      <div class="icon">
        <a href="#">
          <i class="fa fa-envelope" aria-hidden="true"></i>
          <div class="text">Email</div>
        </a>
      </div>
    </li>
    <li>
      <div class="icon">
        <a href="#">
          <i class="fa fa-phone" aria-hidden="true"></i>
          <div class="text">+00 2939474929</div>
        </a>
      </div>
    </li>
  </ul>
</body>

</html>